#!/bin/sh -xe

# This is for devel use.
#  After changing stuff in files/installcd-initrd and files/host-initram
#  and then creating the initrams for testing.

. files/env

./bin/build-auxbuildroot cpfiles
./bin/build-auxbuildroot setperms

chroot $auxbuildroot_dir BIN/build-installcd tree
chroot $auxbuildroot_dir BIN/build-installcd setperms
./bin//build-installcd delstuff

chroot $auxbuildroot_dir BIN/build-initram  tree
chroot $auxbuildroot_dir BIN/build-initram  setperms
./bin/build-initram  delstuff

./bin/build-nemopkg
./bin/build-installcd mkinitram
./bin/build-initram mkinitrampkg

./bin/make-iso
